<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="200px">
        <router-view name="left"></router-view>
      </el-aside>
      <el-container>
        <el-header>
          <router-view name="header"></router-view>
        </el-header>
        <el-main>
          <router-view name="content"></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

  
  <script lang="ts" setup>
import { ref } from 'vue'

const color1 = ref('#409EFF')
const color2 = ref()
</script>
  
  <style>
.demo-color-block {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.demo-color-block .demonstration {
  margin-right: 16px;
}
</style>
  